package edu.sctu.practice.class02.liqing.test08;

/**
 * Created by 123456 on 2015/10/10.
 */
public class Car extends Vehicles {
   private int seats;
    public Car(String brand,String color,int seats){
        super(brand,color);
        this.seats = seats;
    }
    public void showCar(){
        System.out.println("商标为: " + brand + "  " + "颜色为：" + color +"  "+"座位" + seats +"个");
    }
    }


